package lzy.service.impl;
import lzy.entity.Packaging;
import lzy.mapper.PackagingMapper;
import lzy.service.PackagingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.List;

@Service
public class PackagingServiceImpl implements PackagingService {
    @Autowired
    private PackagingMapper packagingMapper;

    @Override
    public List<Packaging> findByFilter(String packagingNo, String packagingType, String personInCharge, Date startTime, Date endTime) {
        return packagingMapper.findByFilter(packagingNo, packagingType, personInCharge, startTime, endTime);
    }

    @Override
    public void addPackaging(lzy.entity.Packaging packaging) {
        packagingMapper.addPackaging(packaging);
    }
} 